package com.yy.log;


import org.springframework.stereotype.Service;

@Service("serviceLogging")
public class ServiceLogging {
    //日志方法
    public void beforeService(){
        System.out.println("=====开始新增用户信息======");
    }
    public void afterService(){
        System.out.println("=====用户信息新增完毕======");
    }
    public void around(){
        System.out.println("=====around方法被执行======");
    }
    //程序出异常 执行此方法
    public void afterThrow(){
        System.out.println("========afterThrow======");
    }
}
